package com.atguigu.yygh.hosp.service;

import com.atguigu.yygh.model.hosp.Schedule;
import com.atguigu.yygh.vo.hosp.ScheduleOrderVo;
import com.atguigu.yygh.vo.hosp.ScheduleQueryVo;
import org.springframework.data.domain.Page;

import java.util.List;
import java.util.Map;

/**
 * @ClassName ScheduleSevice
 * @Description: 类描述
 * @Author: admin
 * @CreateDate: 2024/6/4 21:52
 * @UpdateUser: 更新人
 * @UpdateDate: 2024/6/4 21:52
 * @UpdateRemark: 更新的信息
 * @Version: 1.0
 */

public interface ScheduleService {
    void save(Map<String, Object> paramsMap);

    Page<Schedule> findPageSchedule(ScheduleQueryVo scheduleQueryVo, Integer page, Integer limit);

    void remove(String hoscode, String hosScheduleId);

    Map<String, Object> getRuleSchedule(Long page, Long limit, String hoscode, String depcode);

    List<Schedule> getDetailSchedule(String hoscode, String depcode, String workDate);

    Map<String, Object> getBookingScheduleRule(Integer page, Integer limit, String hoscode, String depcode);

    Schedule getScheduleId(String hosScheduleId);

    ScheduleOrderVo getScheduleOrderVo(String scheduleId);

    /**
     * 修改排班
     */
    void update(Schedule schedule);
}
